package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyDetailComment;
import cn.wolfcode.trip.base.query.CommentQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyDetailCommentService {
    /**
     * 分页
     * @param qo
     * @return
     */
    PageInfo query(CommentQueryObject qo);

    /**
     * 新增和编辑
     * @param strategyDetailComment
     */
    void saveOrUpdate(StrategyDetailComment strategyDetailComment);


    List<StrategyDetailComment> listAll();

    StrategyDetailComment get(Long id);

    void saveOrUpdate(StrategyDetailComment strategyDetailComment, String[] tags);

    Integer queryCountByStrategyDetailCommentId(Long strategyDetailCommentId);
}

